package com.hermit.server.dto;

/** Dto类 */
public class RoleUserDto {
    private String id;
    private String roleId;
    private String userId;
    /**set与get方法  */
    public String getId(){
        return id;
    }

    public void setId(String id){
        this.id = id;
    }
    public String getRoleId(){
        return roleId;
    }

    public void setRoleId(String roleId){
        this.roleId = roleId;
    }
    public String getUserId(){
        return userId;
    }

    public void setUserId(String userId){
        this.userId = userId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(",id=").append(id);
        sb.append(",roleId=").append(roleId);
        sb.append(",userId=").append(userId);
        sb.append("]");
        return sb.toString();
    }
}